<script>
import { mapMutations } from 'vuex'
export default {
	methods: {
		...mapMutations(['getUserInfo']),
	},
	onLaunch: function () {
		// console.log('App Launch')
	},
	onShow: function () {
		// console.log('App Show')
		// if (!this.userInfo) {
		this.getUserInfo()
		// }
	},
	onHide: function () {
		// console.log('App Hide')
	},
}
</script>

<style lang="scss">
/*每个页面公共css */
@import 'uview-ui/index.scss';
@import url('~@/icon/iconfont.css');
</style>
